<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>案例-左侧隐藏</title>
    <style>
        .box {
            display: flex;
        }

        .left {
            width: 200px;
            height: 500px;
            background-color: skyblue;
        }

        .main {
            flex: 1;
            height: 500px;
            background-color: pink;
        }

        @media (max-width: 768px) {
            .left {
                display: none;
            }
        }
    </style>
</head>
<body>
<div class="box">
    <div class="left">left</div>
    <div class="main">
        响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果响应式网页效果
    </div>
</div>
</body>
</html>
